from django.urls import path
from orders.views import *
urlpatterns = [
    # 校验用户名
    path('user/addOrder/', CreateOrder.as_view()),
    # 支付成功回调
    path('pay/result/', CheckPayResult.as_view()),
    # 获取订单信息
    path('user/getOrder/', OrderInfo.as_view()),
    # 去支付
    path('user/payOrder/', PayOrder.as_view()),
    # 修改订单状态
    path('user/confirmReceive/', ConfirmReceive.as_view()),
    # 删除订单中的商品
    path('user/deleteProduct/', DeleteProduct.as_view()),
]
